#pragma once
#ifndef _MY_TCP_CLIENT_HPP_
#define _MY_TCP_CLIENT_HPP_

#include "TcpClientSocket.hpp"

class MyTcpClient : public TcpClientSock
{
public:
    MyTcpClient(const char* p_ip,int p_port);
    ~MyTcpClient();
protected:
    void Update() override;
private:
    int m_stdin;
    fd_set m_rset;
    int m_maxfd;
    char m_readBuf[BUFSIZ];
    char m_sendBuf[BUFSIZ];
};

#endif // _MY_TCP_CLIENT_HPP_